<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>皇室蛋糕o</title>
		<link href="assets/css/admin.css" rel="stylesheet" type="text/css">
		<link href="assets/css/amazeui.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" type="text/css" href="res/static/css/main.css">
		<link href="css/personal.css" rel="stylesheet" type="text/css">
		<link href="css/infstyle.css" rel="stylesheet" type="text/css">
		<script src="assets/js/jquery.min.js" type="text/javascript"></script>
		<script src="assets/js/amazeui.js" type="text/javascript"></script>
</head> 
<body>   
		<jsp:include page="header.jsp"></jsp:include>
					<div class="center">
			<div class="col-main">
				<div class="main-wrap">

					<div class="user-info">
						<!--标题 -->
						<div class="am-cf am-padding">
							<div class="am-fl am-cf"><strong class="am-text-danger am-text-lg">个人资料</strong> / <small>Personal&nbsp;information</small></div>
						</div>
						<hr/>

						<!--头像 -->
						<div class="user-infoPic">

							<div class="filePic">
								<!-- <input type="file" class="inputPic" allowexts="gif,jpeg,jpg,png,bmp" accept="image/*"> -->
								<img class="am-circle am-img-thumbnail" src="images/head.jpg" alt="点击修改头像" />
							</div>

							<p class="am-form-help">头像</p>

							<div class="info-m">
								<div><b>用户名：<i>${consumer.cname}</i></b></div>
								<div class="u-level">
									<span class="rank r2">
							             <s class="vip1"></s><a class="classes" href="#">铜牌会员</a>
						            </span>
								</div>
								<div class="u-safety">
									<a href="safety.html">
									 账户安全
									<span class="u-profile"><i class="bc_ee0000" style="width: 60px;" width="0">60分</i></span>
									</a>
								</div>
							</div>
						</div>

						<!--个人信息 -->
						<div class="info-main">
							<form class="am-form am-form-horizontal" method="get" action="updateConsumerInfo">

								<input type="hidden" name="id" value="2"><!-- ${consumer.cid } -->
								<div class="am-form-group">
									<label for="user-name" class="am-form-label">姓名</label>
									<div class="am-form-content">
										<input type="text" id="user-name2" name="cname" placeholder="name" value="${consumer.cname }">

									</div>
								</div>
								<div class="am-form-group"> 
									<label for="user-phone" class="am-form-label">电话</label>
									<div class="am-form-content">
										<input id="user-phone" placeholder="telephonenumber" name="ctel" type="tel" value="${consumer.ctel }">

									</div>
								</div>
								<div class="am-form-group">
									<label for="user-name2" class="am-form-label">地址</label>
									<div class="am-form-content">
										<input type="text" id="user-name2" name="caddress" placeholder="nickname" value="${consumer.caddress }">

									</div>
								</div>
								<div class="info-btn">
									<input class="am-btn am-btn-danger" type="submit" value="保存修改" name=""> &nbsp;&nbsp;&nbsp;&nbsp;
										<span class="am-btn am-btn-danger"><a href="updatepwd">修改密码</a></span>
								</div>

							</form>
						</div>

					</div>

				</div>
			
			</div>

			<aside class="menu">
				<ul>
					<li class="person">
						<a href="index.html">个人中心</a>
					</li>
					<li class="person">
						<a href="#">个人资料</a>
						<ul>
							<li class="active"> <a href="gopersoninfo">个人信息</a></li>
							<li> <a href="safety.html">安全设置</a></li>

							<li> <a href="getAddressInfo">收货地址</a></li>


						</ul>
					</li>
					<li class="person">
						<a href="#">我的交易</a>
						<ul>
							<li><a href="order.html">订单管理</a></li>
							<li> <a href="change.html">退款售后</a></li>
						</ul>
					</li>
					<li class="person">
						<a href="#">我的资产</a>
						<ul>
							<li> <a href="coupon.html">优惠券 </a></li>
							<li> <a href="bonus.html">红包</a></li>
							<li> <a href="bill.html">账单明细</a></li>
						</ul>
					</li>

					<li class="person">
						<a href="#">我的小窝</a>
						<ul>
							<li> <a href="collection.html">收藏</a></li>
							<li> <a href="foot.html">足迹</a></li>
							<li> <a href="comment.html">评价</a></li>
							<li> <a href="news.html">消息</a></li>
						</ul>
					</li>
  
				</ul>

			</aside>
		</div>
		<jsp:include page="footer.jsp"></jsp:include>
</body>
</html>